package com.example.ssh.action;

import com.example.ssh.dao.UserDao;
import com.example.ssh.service.UserService;
import com.opensymphony.xwork2.ActionSupport;

/**
 * @Description
 * @Author konglz
 * @Data 2023/6/28 16:23
 */
public class TestAction extends ActionSupport {

    private UserService userService;

    public String testAction(){
        System.out.println(userService.list());
        System.out.println("-------------------------");
        return "success";
    }

    public void setUserService(UserService userService) {
        this.userService = userService;
    }

    public UserService getUserService() {
        return userService;
    }
}
